package design.princible.demo3;

/**
 * @author wenhao hu
 * @title: RealHardDisk
 * @projectName design
 * @description: TODO
 * @date 2022/2/1811:19
 */
public class RealHardDisk extends AbstractHardDisk{
    @Override
    public String read() {
        System.out.println("HardDisk read data...");
        return "Data";
    }

    @Override
    public void save() {
        System.out.println("HardDisk Save Data : Data");
    }
}
